home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow_WinXP / VMR / VMRMix / DlgWait.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  1.6 KB  |  64 lines

  1. //------------------------------------------------------------------------------
  2. // File: DlgWait.h
  3. //
  4. // Desc: DirectShow sample code
  5. //
  6. // Copyright (c) 2000-2001 Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9. #if !defined(AFX_DLGWAIT_H__E66757E7_0C93_448B_B402_50E8111FCD7E__INCLUDED_)
  10. #define AFX_DLGWAIT_H__E66757E7_0C93_448B_B402_50E8111FCD7E__INCLUDED_
  11.  
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif // _MSC_VER > 1000
  15. // DlgWait.h : header file
  16. //
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CDlgWait dialog
  20.  
  21. class CDlgWait : public CDialog
  22. {
  23. // Construction
  24. public:
  25.     CDlgWait(int nMax, CWnd* pParent = NULL);   // standard constructor
  26.  
  27.     virtual ~CDlgWait()
  28.     {
  29.         DestroyWindow();
  30.     };
  31.  
  32.     void SetPos( int n);
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CDlgWait)
  36.     enum { IDD = IDD_DIALOG_PROGRESS };
  37.     CProgressCtrl   m_Progress;
  38.     //}}AFX_DATA
  39.  
  40.  
  41. // Overrides
  42.     // ClassWizard generated virtual function overrides
  43.     //{{AFX_VIRTUAL(CDlgWait)
  44.     protected:
  45.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. protected:
  50.  
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CDlgWait)
  53.     virtual BOOL OnInitDialog();
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. private:
  57.     int m_Max;
  58. };
  59.  
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62.  
  63. #endif // !defined(AFX_DLGWAIT_H__E66757E7_0C93_448B_B402_50E8111FCD7E__INCLUDED_)
  64.